package jsonParser;

/**
 * 解析json数据时用的的key都放在该类中
 */
public abstract class ParserField extends ParserFactory {

    public static final String VAR = "Variables";

    // 根据这三个值，可计算是否还有加载更多
    public static final String CURRENT_PAGE = "curpage";
    public static final String PRE_PAGE_COUNT = "perpage";
    public static final String TOTAL_COUNT = "count";

    public static final String MESSAGE = "Message";
    public static final String MESSAGE_VAL = "messageval";
    public static final String MESSAGE_STR = "messagestr";

    public static final String ERROR = "error";
    public static final String ERROR_MSG = "errormsg";

    /**
     * 专题
     */
    public static class SpecialField{
        public static final String SPECIALS = "specials";
        public static final String SID = "sid";
        public static final String SNAME = "sname";
        public static final String BANNER = "banner";
        public static final String TOPICS = "topics";
        public static final String SPECIAL = "special";
    }


}
